/**
 * Created by Evgeniy Gusar
 */

import org.jsoup.*;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

import java.io.IOException;


public class ImdbParser {
    public static void main(String [] args) throws IOException {
        String url = "http://imdbapi.org/?q=%22intouchable%22";
        Document doc = Jsoup.connect(url)
                .userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0")
                .timeout(5000)
                .get();
        Element body = doc.body();
        //Document body = Jsoup.parseBodyFragment(url);
        System.out.println(body);
    }
}
